<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"><!-- Standards mode -->
<HTML>
<HEAD>
<title>Codebook for OSIRIS/ASCII Data Dictionary</title>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<SCRIPT language=JavaScript>

<!--
bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
if ((bName == "Netscape" && bVer >=3) ||
(bName == "Microsoft Internet Explorer" && bVer >=4)) br = "n3";
else br = "n2";
// -->
if (br == "n3") {
var nav01 = new Image();
nav01.src = "http://libraries.ucsd.edu/images/roger_off.gif";
var nav01on = new Image();
nav01on.src = "http://libraries.ucsd.edu/images/roger_on.gif";
var nav02 = new Image();
nav02.src = "http://libraries.ucsd.edu/images/sage_off.gif";
var nav02on = new Image();
nav02on.src = "http://libraries.ucsd.edu/images/sage_on.gif";
var nav03 = new Image();
nav03.src = "http://libraries.ucsd.edu/images/cdl_off.gif";
var nav03on = new Image();
nav03on.src = "http://libraries.ucsd.edu/images/cdl_on.gif";
var nav04 = new Image();
nav04.src = "http://govinfo.ucsd.edu/images/sshl-off.gif";
var nav04on = new Image();
nav04on.src = "http://govinfo.ucsd.edu/images/sshl-on.gif";
var nav05 = new Image();
nav05.src = "http://govinfo.ucsd.edu/images/sshdggishome-off.gif";
var nav05on = new Image();
nav05on.src = "http://govinfo.ucsd.edu/images/sshdggishome-on.gif";
}
// -->

</SCRIPT>

</HEAD>
<BODY aLink=#0000cc bgColor=#ffffff link=#3366cc vLink=#3399cc>
<A name=top></A><!-- START - HEADER - START --> 
<table width="600" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td valign="bottom"><img src="http://libraries.ucsd.edu/images/baseline.gif" width="240"
height="16"></td>
    <td valign="bottom"><a href="http://libraries.ucsd.edu/roger.shtml"
onMouseOver= "if (br == 'n3') document.roger.src = nav01on.src"
onMouseOut= "if (br == 'n3') document.roger.src = nav01.src"><img
src="http://libraries.ucsd.edu/images/roger_off.gif" name="roger" width="73" height="16"
border="0" alt="Roger"></a></td>
    <td valign="bottom"><a href="http://libraries.ucsd.edu/sage.shtml"
onMouseOver= "if (br == 'n3') document.sage.src = nav02on.src"
onMouseOut= "if (br == 'n3') document.sage.src = nav02.src"><img
src="http://libraries.ucsd.edu/images/sage_off.gif" name="sage" width="73" height="16"
border="0" alt="Sage"></a></td>
    <td valign="bottom"><a href="http://melvyl.cdlib.org/"
onMouseOver= "if (br == 'n3') document.cdl.src = nav03on.src"
onMouseOut= "if (br == 'n3') document.cdl.src = nav03.src"><img
src="http://libraries.ucsd.edu/images/cdl_off.gif" name="cdl" width="119" height="16"
border="0" alt="CDL / MELVYL"></a></td>
    <td valign="bottom"><a href="http://sshl.ucsd.edu/"
onMouseOver= "if (br == 'n3') document.home.src = nav04on.src"
onMouseOut= "if (br == 'n3') document.home.src = nav04.src"><img
src="http://govinfo.ucsd.edu/images/sshl-off.gif" name="home" width="94" height="16"
border="0" alt="SSH Library Home"></a></td>
  </tr>
  <tr> 
    <td rowspan="2" colspan="3"><img src="http://libraries.ucsd.edu/images/dggisleft.gif"
width="387" height="58" alt="SSHL Home"></td>
    <td colspan="2"><a href="http://govinfo.ucsd.edu/"
onMouseOver= "if (br == 'n3') document.libhome.src = nav05on.src"
onMouseOut= "if (br == 'n3') document.libhome.src = nav05.src"><img
src="http://govinfo.ucsd.edu/images/sshdggishome-off.gif" name="libhome" width="213" height="13" border="0" alt="Data, Gov't &amp; GIS Home"></a></td>
  </tr>
  <tr> 
    <td colspan="2"><img src="http://libraries.ucsd.edu/images/dggisright.gif" width="213"
height="45" alt=""></td>
  </tr>
</table>
<!-- END - Header - END --><!--START BODY--> <!-- START - TABLE for Page Title and Subtitle - START -->
<table border=0 cellpadding=0 cellspacing=0 width=600>
  <tbody> 
  <tr> 
    <td><font face="Verdana, Arial, Helvetica" size=-1><b><a 

      href="http://ssdc.ucsd.edu/" 

    target=_top>Social Sciences Data Collection (SSDC) </a></b></font></td>
  </tr>
  <tr> 
    <td><img alt="" border=0 height=27 src="http://libraries.ucsd.edu/images/bleed02.gif" 

      width=221></td>
  </tr>
  <tr> 
    <td> 
      <blockquote> 
        <blockquote> 
          <p><font color=#cc6600 face="Verdana, Arial, Helvetica" size=+1><b> 
           Codebook for OSIRIS/ASCII Data Dictionary:</b></font></p>
        </blockquote>
      </blockquote>
    </td>
  </tr>
  <tr> 
    <td><img alt="" border=0 height=15 src="http://libraries.ucsd.edu/images/x.gif" 

    width=1></td>
  </tr>
  </tbody> 
</table>
<TABLE WIDTH="600" BORDER="0" CELLSPACING="0" CELLPADDING="0">
  <TR> 
</TABLE>
<!-- END - TABLE for Page Title and Subtitle - END --><!-- START - Page Content - START -->


<TABLE WIDTH="600" BORDER="0" CELLSPACING="0" CELLPADDING="0">
<TR><td>
<blockquote>
<font face="Verdana, Arial, Helvetica" size=-1>

<P>The following information gives the layout of the OSIRIS Dictionary as it has been converted by SSDC staff into ASCII. OSIRIS Dictionaries are used to describe OSIRIS Data Files. Note that each record (line) in the Dictionary has 80 characters followed by a line feed character (decimal 10 -- noted as &quot;LF&quot; in the codebook). Note also that the Dictionary consists of a one line &quot;Dictionary Descriptor Record&quot; followed by multiple &quot;Variable Descriptor Records,&quot; one line for each variable in the Data File. The Codebook below describes these two kinds of records. The Dictionary can be read with standard statistical software, if desired.</P>

<H4 ALIGN=CENTER>EXAMPLE OF OSIRIS/ASCII DATA DICTIONARY RECORDS</H4><PRE>
</font></font>
<tt>
--------------------------------------------------------------------------------
[Ruler:] 1         2         3         4         5         6         7         8
123456789*123456789*123456789*123456789*123456789*123456789*123456789*123456789*
--------------------------------------------------------------------------------
[one descriptor record:]
1    1    9999 
[multiple variable records:]
T    1 0 0 ICPSR STUDY NUMBER-6067     1     4 0     1 1
T    2 0 0 ICPSR EDITION NUMBER        5     1 0     1 2
T    3 0 0 ICPSR PART NUMBER           6     1 0     1 3
T    4 0 0 CASE ID NUMBER              7     4 0     1 4
T    5 0 0 PRIMARY AREA CODE          11     3 0     1 0000000 5
T 3086 0 0 92PRE: IWER ETHNICITY    1916     1 0     1         0000009 108
T 3087 0 0 92PRE: IWER AGE BRACK    1917     1 0     1         0000009 -114  REC
T 3088 0 0 92PRE: IWER YRS EXPER    1918     2 0     1         0000099 -115  REC
--------------------------------------------------------------------------------
</PRE>

<H4 ALIGN=CENTER>CODEBOOK</H4>

<CENTER><TABLE BORDER=1 CELLPADDING=5 WIDTH="80%" >
<TR>
<TD COLSPAN="2">
<CENTER><B><I>Type-1 OSIRIS Dictionary -- ASCII Version</I></B></CENTER>
</TD>
</TR>

<TR>
<TD COLSPAN="2">
<CENTER><B><I>Dictionary Descriptor Record</I></B></CENTER>
</TD>
</TR>

<TR><TD><B>Column</B></TD><TD><B>Content</B></TD></TR>

<TR><TD>1</TD><TD>1</TD></TR>

<TR><TD>2-5</TD><TD>(blank)</TD></TR>

<TR><TD>6-9</TD><TD>First Variable Number</TD></TR>

<TR><TD>10</TD><TD>(blank)</TD></TR>

<TR><TD>11-14</TD><TD>Last Variable Number</TD></TR>

<TR><TD>15-80</TD><TD>(blank)</TD></TR>

<TR><TD>81</TD><TD>Line Feed</TD></TR>

<TR>
<TD COLSPAN="2">
<CENTER><B><I>Variable Descriptor Record</I></B></CENTER>
</TD>
</TR>

<TR><TD><B>Column</B></TD><TD><B>Content</B></TD></TR>

<TR><TD>1</TD><TD>T</TD></TR>

<TR><TD>2-6</TD><TD>Variable Number</TD></TR>

<TR><TD>7</TD><TD>(blank)</TD></TR>

<TR><TD>8</TD>
<TD>Character Type and Storage Mode 
<UL><LI>0: Numeric, character mode</LI>
<LI>1: Alphabetic, character mode</LI>
<LI>2: Numeric, fixed-point binary mode</LI>
<LI>3: Numeric, floating-point binary</LI></UL>
</TD></TR>

<TR><TD>9</TD><TD>blank</TD></TR>

<TR><TD>10</TD>
<TD>Variable type
<UL><LI>0: Single response</LI>
<LI>1: Multiple response</LI></UL>
</TD></TR>

<TR><TD>11</TD><TD>blank</TD></TR>

<TR><TD>12-35</TD><TD>Variable Name (or blanks)</TD></TR>

<TR><TD>36-40</TD><TD>Starting location of the variables within each data record</TD></TR>

<TR><TD>41</TD><TD>(blank)</TD></TR>

<TR>
<TD>42-46</TD>
<TD>Field width of one (or the only) response
<UL><LI>1-9: numeric variables</LI>
<LI>1-255: alphabetic variables</LI></UL>
</TD></TR>

<TR><TD>47</TD><TD>(blank)</TD></TR>

<TR><TD>48</TD>
<TD>Number of Decimal places
<UL><LI>0-9: numeric variables</LI>
<LI>0: alphabetic variables</LI></UL>
</TD></TR>

<TR><TD>49</TD><TD>(blank)</TD></TR>

<TR><TD>50-54</TD><TD>Number of responses. If the variable has more than 1 response; columns 8-48 describe the first response and the remaining responses are assumed to be in adjacent fields of the same description.</TD></TR>

<TR><TD>55</TD><TD>(blank)</TD></TR>

<TR><TD>56-62</TD><TD>First missing data code (or blanks)</TD></TR>

<TR><TD>63</TD><TD>(blank)</TD></TR>

<TR><TD>64-70</TD><TD>Second missing data code (or blanks)</TD></TR>

<TR><TD>71</TD><TD>(blank)</TD></TR>

<TR><TD>72-75</TD><TD>Reference value (or blanks)</TD></TR>

<TR><TD>76-77</TD><TD>(blanks)</TD></TR>

<TR><TD>78-80</TD><TD>Study ID (or blanks)</TD></TR>

<TR><TD>81</TD><TD>Line Feed</TD></TR>
</TABLE></CENTER>

<P>Note that a Type-1 data file has, fixed-length records, i.e., the record length is equal to the sum of the widths of all of the response fields of all the variables.</P>

</td></tr></table>
</blockquote>

<!-- FOOTER STARTS HERE  --> 

<table width="600" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>
      <center>
        <font face="verdana,helvetica,arial" size=-1> <img src="http://libraries.ucsd.edu/images/cccccc.gif" height=1 width=595><p> 
        <a href="http://roger.ucsd.edu">ROGER</a> 
        | <a href="http://libraries.ucsd.edu/sage.shtml">Sage</a> 
        | <a href="http://www.dbs.cdlib.org/">CDL/MELVYL</a> | <a href="http://www.ucsd.edu/">UCSD 
        Home</a> 
        | <a href="http://libraries.ucsd.edu/">UCSD Libraries Home</a> 
        </font> 
      </center>
    </td>
  </tr>
  <tr>
    <td><img src="http://libraries.ucsd.edu/images/cccccc.gif" height=1 width=595> </td>
  </tr>
  <tr>
    <td height="5"></td>
  </tr>
  <tr> 
    <td><a href="http://www.ucsd.edu/"><img src="http://libraries.ucsd.edu/images/official.gif" width="332" height="50" hspace="10" border="0"
alt="Official Web Page of the University of California, San Diego" align="bottom"></a> 
      <br>
      <font face="Arial, Helvetica" size="-2"> &copy; Copyright 2000, UCSD, All 
      Rights Reserved. This site may not be reproduced.<br>
      Social Sciences &amp; Humanities Library, 9500 Gilman Drive, La Jolla, CA 
      92093, 858-534-3336<br>
      <a href="mailto:ssdc@jukebox.ucsd.edu">Email SSDC Webmaster</a><br>

<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var days = new Array(8);
days[1] = "Sunday";
days[2] = "Monday";
days[3] = "Tuesday";
days[4] = "Wednesday";
days[5] = "Thursday";
days[6] = "Friday";
days[7] = "Saturday";
var months = new Array(13);
months[1] = "January";
months[2] = "February";
months[3] = "March";
months[4] = "April";
months[5] = "May";
months[6] = "June";
months[7] = "July";
months[8] = "August";
months[9] = "September";
months[10] = "October";
months[11] = "November";
months[12] = "December";
var dateObj = new Date(document.lastModified)
var wday = days[dateObj.getDay() + 1]
var lmonth = months[dateObj.getMonth() + 1]
var date = dateObj.getDate()
var fyear = dateObj.getYear()
if (fyear < 2000)
fyear = fyear + 1900
document.write("Last Updated: " + wday + ", " + lmonth + " " + date + ", " + fyear)
// End -->
</SCRIPT>

      </font> </td>
  </tr>
</table>

</body>
</html>
